package com.mjk.datasource.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.Filed;
import lombok.Data;

import java.util.Objects;

@Data
public class MiCatlogModel extends BaseEntity {
    @Filed(comment="医保编码")
    private String project_id;
    @Filed(comment="医保中文名称")
    private String project_name;
    @Filed(comment="规格")
    private String project_gg;
    @Filed(comment="剂型")
    private String project_jx;

    @Filed(comment="单位")
    private String unit;

    @Filed(comment="")
    private String status;

    private String type;

    private String pym;

    @Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;
        MiCatlogModel that = (MiCatlogModel) obj;
        return Objects.equals(project_id, that.project_id) ;
    }

    @Override
    public int hashCode() {
        return Objects.hash(project_id, project_name, unit, status, type, pym);
    }
}
